package de.barny.main;

public class Worker {

	private String name;
	private String surname;
	
	public Worker() {
		name = "Unbenannter";
		surname = "Mitarbeiter";
	}
	
	public Worker(String n, String sn) {
		name = n;
		surname = sn;
	}
	
	public String getName() {
		return name;
	}
	
	public String getSurname() {
		return surname;
	}
	
	public void setName(String n) {
		name = n;
	}
	
	public void setSurname(String n) {
		surname = n;
	}
	
}
